package smartcampus.scjava.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import smartcampus.scjava.POJO.DO.TuitionFee;
import smartcampus.scjava.POJO.DTO.TuitionFeeDTO;
import smartcampus.scjava.service.TuitionFeeService;
import smartcampus.scjava.mapper.TuitionFeeMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 苟森
* @description 针对表【tuition_fee(学费情况表)】的数据库操作Service实现
* @createDate 2023-12-06 20:25:19
*/
@Service
public class TuitionFeeServiceImpl extends ServiceImpl<TuitionFeeMapper, TuitionFee>
    implements TuitionFeeService{
    @Autowired
    TuitionFeeMapper tuitionFeeMapper;

    @Override
    public int updateSumMoney() {
        return tuitionFeeMapper.updateSumMoney();
    }

    @Override
    public List<TuitionFeeDTO> selectTuitionList(String stuid) {
        return tuitionFeeMapper.selectTuitionList(stuid);

    }

}




